<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>计算器示例</title>
</head>
<body>
    <!--submit之后会跳转到这个网址！前端是的知识还是需要了解一下的！-->
    <form action="http://localhost:8080/calc/sum">
        <h1>计算器</h1>
        数字 1 ：<input name="num1" type="text"><br>
        数字 2 ：<input name="num2" type="text"><br>
        <input type="submit" value="点击相加">
    </form>
</body>
</html>
